<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core">
    
 <ui:composition template="templateEPA.xhtml">
  <ui:define name="Titulo">EPA - Exercícios</ui:define>
  <ui:define name="conteudo">
      <h:panelGrid columns="1">
          <h:outputText value="Disciplina Escolhida:"/>
          <h:outputText style="font-weight: bold;" value="#{EPAControle.disciplina.nome}" />
          <h:outputText value="Selecione um exercício abaixo" />
          <c:forEach items="#{EPAControle.disciplina.exercicios}" var="varExercicio">
              <h:commandLink value="#{varExercicio.titulo}" action="#{varExercicio.selecionaExercicio}" />
          </c:forEach>
      </h:panelGrid>
  </ui:define>
 </ui:composition>
</html>
